home *** CD-ROM | disk | FTP | other *** search
/ Motor Sport Digital Archive Collection 1960s / Motor Sport Digital Archive Collection 1960s.iso / main.swf / scripts / _main_mx_managers_SystemManager.as < prev    next >
Encoding:
Text File  |  2008-05-21  |  3.2 KB  |  75 lines

  1. package
  2. {
  3.    import flash.system.ApplicationDomain;
  4.    import mx.core.IFlexModule;
  5.    import mx.core.IFlexModuleFactory;
  6.    import mx.managers.SystemManager;
  7.    
  8.    public class _main_mx_managers_SystemManager extends SystemManager implements IFlexModuleFactory
  9.    {
  10.       public function _main_mx_managers_SystemManager()
  11.       {
  12.          super();
  13.       }
  14.       
  15.       override public function info() : Object
  16.       {
  17.          return {
  18.             "currentDomain":ApplicationDomain.currentDomain,
  19.             "fonts":{
  20.                "Myriad Pro":{
  21.                   "regular":true,
  22.                   "bold":false,
  23.                   "italic":false,
  24.                   "boldItalic":false
  25.                },
  26.                "Verdana":{
  27.                   "regular":true,
  28.                   "bold":true,
  29.                   "italic":false,
  30.                   "boldItalic":false
  31.                }
  32.             },
  33.             "height":"1024",
  34.             "layout":"absolute",
  35.             "mainClassName":"main",
  36.             "mixins":["_main_FlexInit","_alertButtonStyleStyle","_ControlBarStyle","_ScrollBarStyle","_activeTabStyleStyle","_textAreaHScrollBarStyleStyle","_ToolTipStyle","_comboDropDownStyle","_ProgressBarStyle","_textAreaVScrollBarStyleStyle","_ContainerStyle","_globalStyle","_windowStatusStyle","_PanelStyle","_windowStylesStyle","_activeButtonStyleStyle","_errorTipStyle","_richTextEditorTextAreaStyleStyle","_CursorManagerStyle","_todayStyleStyle","_TextInputStyle","_dateFieldPopupStyle","_plainStyle","_dataGridStylesStyle","_ApplicationStyle","_TitleWindowStyle","_SWFLoaderStyle","_headerDateTextStyle","_ButtonStyle","_AlertStyle","_opaquePanelStyle","_weekDayStyleStyle","_RadioButtonStyle","_headerDragProxyStyleStyle","_views_MyPrintJobWatcherSetupUtil","_views_SplashImageWatcherSetupUtil","_views_ContentWatcherSetupUtil","_views_SpreadsTabWatcherSetupUtil","_views_ReadWatcherSetupUtil","_views_BrowseIssueTabWatcherSetupUtil","_views_SpreadWatcherSetupUtil","_views_BrowseYearTabWatcherSetupUtil"
  37.             ,"_views_SearchTabWatcherSetupUtil","_views_PrintSelectionWatcherSetupUtil","_views_SpreadThumbWatcherSetupUtil","_views_CoverThumbWatcherSetupUtil","_views_BottomNavWatcherSetupUtil","_views_TopNavWatcherSetupUtil","_views_Groups_PageNavigationWatcherSetupUtil","_views_PresentationWatcherSetupUtil"],
  38.             "width":"1280"
  39.          };
  40.       }
  41.       
  42.       override public function create(... rest) : Object
  43.       {
  44.          var _loc2_:String = null;
  45.          var _loc3_:Class = null;
  46.          var _loc4_:Object = null;
  47.          if(rest.length == 0 || rest[0] is String)
  48.          {
  49.             _loc2_ = null;
  50.             if(rest.length == 0)
  51.             {
  52.                _loc2_ = "main";
  53.             }
  54.             else
  55.             {
  56.                _loc2_ = String(rest[0]);
  57.             }
  58.             _loc3_ = Class(getDefinitionByName(_loc2_));
  59.             if(_loc3_ != null)
  60.             {
  61.                _loc4_ = new _loc3_();
  62.                if(_loc4_ is IFlexModule)
  63.                {
  64.                   IFlexModule(_loc4_).moduleFactory = this;
  65.                }
  66.                return _loc4_;
  67.             }
  68.             return null;
  69.          }
  70.          return super.create.apply(this,rest);
  71.       }
  72.    }
  73. }
  74.  
  75.